package com.gxa.xc.rbac.pojo;


import java.sql.Timestamp;

/**
 * 权限实体
 */
public class Permission {

  private Integer id;
  private String permissionName;
  private String permissionUrl;
  private Integer isMenu;
  private Integer permissionLevel;
  private Integer parentId;
  private Integer isDeleted;
  private Timestamp createTime;
  private Timestamp updateTime;


  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getPermissionName() {
    return permissionName;
  }

  public void setPermissionName(String permissionName) {
    this.permissionName = permissionName;
  }


  public String getPermissionUrl() {
    return permissionUrl;
  }

  public void setPermissionUrl(String permissionUrl) {
    this.permissionUrl = permissionUrl;
  }


  public Integer getIsMenu() {
    return isMenu;
  }

  public void setIsMenu(Integer isMenu) {
    this.isMenu = isMenu;
  }


  public Integer getPermissionLevel() {
    return permissionLevel;
  }

  public void setPermissionLevel(Integer permissionLevel) {
    this.permissionLevel = permissionLevel;
  }


  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }


  public Integer getIsDeleted() {
    return isDeleted;
  }

  public void setIsDeleted(Integer isDeleted) {
    this.isDeleted = isDeleted;
  }


  public Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }


  public Timestamp getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Timestamp updateTime) {
    this.updateTime = updateTime;
  }


  @Override
  public String toString() {
    return "Permission{" +
            "id=" + id +
            ", permissionName='" + permissionName + '\'' +
            ", permissionUrl='" + permissionUrl + '\'' +
            ", isMenu=" + isMenu +
            ", permissionLevel=" + permissionLevel +
            ", parentId=" + parentId +
            ", isDeleted=" + isDeleted +
            ", createTime=" + createTime +
            ", updateTime=" + updateTime +
            '}';
  }
}
